/* eslint-disable semi */
/* eslint-disable semi */
/* eslint-disable quotes */
<template>
  <div>

    <div class="hello-1" v-for="(item, index) in middleimages" :key="index">
      <van-image class="hello-1-img" width="10rem" height="17.86667rem" fit="cover" :src="item.imgSrc" />

    </div>

    <div class="Go-home" @click="gotohome()"> </div>

  </div>
</template>

<script>
import TabBar from "./TabBar.vue";
export default {
  components: {
    TabBar
  },
  data() {
    return {
      num: 3,
      active: 0,
      middleimages: [{ id: 0, imgSrc: require("../assets/images/a24.jpg") }]
    };
  },
  methods: {
    gotohome() {
      this.$router.push({ path: "/HomePage" });
    }
  }
};
</script>

<style scoped>
* {
  padding: 0;
  margin: 0;
}
body {
  background-color: #f6f6f6;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  display: block;
}
div {
  display: block;
  box-sizing: border-box;
}

.hello-1 {
  width: 100%;
  height: 100%;
  background: #f6f6f6;
}
.hello-1 p {
  margin-top: 25px;
  color: #969799;
  font-size: 14px;
}
.hello-1-img {
  border-radius: 10px;
  pointer-events: none;
}

#app {
  margin-top: 0px;
}

.Go-home {
  position: absolute;
  height: 146px;
  bottom: 15px;
  left: 35px;
  width: 300px;
  z-index: 10;
  display: flex;
}
</style>

